'use strict';

const titbit = require('titbit')

  process.on('SIGTERM', (sig) => {
    console.log('捕获信号，不退出')
  })
  
  process.on('SIGINT', (sig) => {
    console.log('还是不退出')
  })


const app = new titbit({
  debug: true
})

app.get('/', async c => {
  c.res.body = 'ok'
})

app.run(1234)

